package com.hahaduo.bee.dao.jpa.entity;

import java.math.BigDecimal;
import java.util.Currency;
import java.util.List;

import javax.jdo.annotations.NotPersistent;
import javax.jdo.annotations.Persistent;
import javax.persistence.Entity;

/**
 * @author noodles.wumu@gmail.com
 * @since 2013/05/30 16:13:24
 * @version 0.1
 */
@Entity
public class Account extends BaseEntity {
    
	private String name;

	private String code;

	private String description;

	private Currency currency;

	private String fraction;

	private String color;

	private String notes;

	private String placeholder;

	private String type;

	private Long parentId;

	private String email;

	private String parentName;

	private BigDecimal transactionSum = BigDecimal.ZERO;

	private int level;

	private List<Account> childenList;
	
	
}
